package com.car.dal.dao.recruitment;

import java.util.List;

import com.car.dal.dao.ibatis.IbatisCommonDao;
import com.car.dal.object.TgRecruitmentResult;
import com.car.util.Page;

public class RecruitmentResultDaoImp extends IbatisCommonDao<TgRecruitmentResult, Long> implements RecruitmentResultDao{

	@Override
	public List<TgRecruitmentResult> getTgRecruitResultByType(
			TgRecruitmentResult tgRecruitmentResult, Page page) {
		tgRecruitmentResult.setPagesize(page.getPagesize());
		tgRecruitmentResult.setFirstrownum(page.getFirstrownum());
		return this.queryForEntityList(TgRecruitmentResult.class, "getTgRecruitResultByType", tgRecruitmentResult);
	}

	@Override
	public Integer getTgCountRecruitResultByType(
			TgRecruitmentResult tgRecruitmentResult) {
		return this.queryForInteger("getTgCountRecruitResultByType", tgRecruitmentResult);
	}

	

	@Override
	public List<TgRecruitmentResult> getTgRecruitResultByType1(
			TgRecruitmentResult tgRecruitmentResult) {
		return this.queryForEntityList(TgRecruitmentResult.class, "getTgRecruitResultByType1", tgRecruitmentResult);
	}

	@Override
	public List<TgRecruitmentResult> getTgRecruitResult(
			TgRecruitmentResult tgRecruitmentResult) {
		return this.queryForEntityList(TgRecruitmentResult.class, "getTgRecruitResult", tgRecruitmentResult);
	}

	

	
}
